/*
 * Lab07C.cpp - Example using valgrind
 *
 *  Created on: Mar 25, 2014
 *      Author: Anthony Varghese
 */

#include <iostream>

using std::cin;
using std::cout;
using std::endl;

class A{

};

class B : A{

};

class C{
public:
	C(){
	//	data = new A();
	}
private:
	A* data;
};

int main(){
	cout << "CSIS 237 Lab 7 - Valgrind example" << endl;
	A a;
	B b;
	C c;

	cout << "a is at " << &a << ", b is at " << &b << ", c is at " << &c << endl;

	//int* x = new int[3]{ 1, 2, 3};
	//x[3] = 4;
	//cout << "  Array contents at locations 0 and 3 are: " << x[0] << " " << x[3] << endl;

	cout << "... done" << endl;
}
